Automattic\WooCommerce\GoogleListingsAndAds\Coupon\CouponSyncer S

Total Complexity 35
Dependencies 13
Dependents 5
Total lines 448
Lines of code 305
Logical lines of code 94
Comment lines 58
Methods 10
Properties 5

Methods 10

Method Rating Maintainability Complexity Lines of code
update()
A
36 6 107
delete()
A
39 7 83
handle_update_errors()
S
51 5 30
handle_delete_errors()
S
51 5 30
is_coupon_supported()
S
62 5 13
validate_merchant_center_setup()
S
61 2 15
validate_coupon()
S
63 2 11
__construct()
S
69 1 7
get_supported_coupon_types()
S
71 1 6
get_hidden_coupon_types()
S
78 1 3